<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<div id="quickSummary">
	<h3>
		<span><fmt:message key="data.data_list"/></span>
	</h3>
	<ul>
		<li><a href="/Biblioteca/data/authors"><fmt:message key="menu.authors"/></a></li>
		<li><a href="/Biblioteca/data/languages"><fmt:message key="menu.languages"/></a></li>
		<li><a href="/Biblioteca/data/genre"><fmt:message key="menu.genres"/></a></li>
		<li><a href="/Biblioteca/data/publishers"><fmt:message key="menu.publishers"/></a></li>
	</ul>
</div>
<div id="explanation">
	<h3><span><fmt:message key="data.author_list"/></span></h3>
	<c:forEach items="${author}" var="author">
		<p class="p1"><span>${author.nombre} ${author.apellidos} - <a href="/Biblioteca/data/authorInfo/${author.id_autor }"><fmt:message key="general.see"/></a></span></p>
	</c:forEach>
	<p class="p2"><span><a href="/Biblioteca/data/authorsForm/"><fmt:message key="data.new_author"/></a></span></p>
</div>
<div id="explanation">
	<h3><span><fmt:message key="data.genre_list"/></span></h3>
	<c:forEach items="${genre}" var="genre">
		<p class="p1"><span>${genre.nombre} - <a href="/Biblioteca/data/genreInfo/${genre.id_genre}"><fmt:message key="general.see"/></a></span></p>
	</c:forEach>
	<p class="p2"><span><a href="/Biblioteca/data/genreForm/"><fmt:message key="data.new_genre"/></a></span></p>
</div>
<div id="explanation">
	<h3><span><fmt:message key="data.lang_list"/></span></h3>
	<c:forEach items="${lang}" var="lang">
		<p class="p1"><span>${lang.nombre} - <a href="/Biblioteca/data/languageInfo/${lang.id_lang }"><fmt:message key="general.see"/></a></span></p>
	</c:forEach>
	<p class="p2"><span><a href="/Biblioteca/data/languagesForm/"><fmt:message key="data.new_lang"/></a></span></p>
</div>
<div id="explanation">
	<h3><span><fmt:message key="data.pub_list"/></span></h3>
	<c:forEach items="${publisher}" var="publisher">
		<p class="p1"><span>${publisher.nombre} - <a href="/Biblioteca/data/publisherInfo/${publisher.id_pub }"><fmt:message key="general.see"/></a></span></p>
	</c:forEach>
	<p class="p2"><span><a href="/Biblioteca/data/publishersForm/"><fmt:message key="data.new_pub"/></a></span></p>
</div>